<?php

class Kota_Model extends CI_Model {

    public function __construct() {
        $this->load->database();
    }
    
    public function getKota($kode){
        $SQL = "SELECT * FROM mt_kota where id_propinsi=" . $kode . " order by nama_kota asc LIMIT 100";
        $resultSet = $this->db->query($SQL);
        return $resultSet;
    }
}

?>
